<template>
	<view class="bottom-layout">
		<view class="bottom-btn" @click="confirmClick">{{text}}</view>
	</view>
</template>

<script>
	export default {
		props: {
			text: {
				type: String
			},
		},
		data() {
			return {
				
			}
		},
		methods: {
			confirmClick(){
				this.$emit("confirm", {})
			}
		}
	}
</script>

<style scoped>
	.bottom-layout{
		width: 100%;
		display: flex;
		flex-direction: row;
		background-color: white;
		padding: 16rpx 48rpx;
		box-sizing: border-box;
	}
	.bottom-btn{
		width: 100%;
		height: 96rpx;
		line-height: 96rpx;
		background-color: #01CBFF;
		border-radius: 48rpx;
		font-size: 32rpx;
		color: white;
		font-weight: 400;
		text-align: center;
	}
</style>
